home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Developer Toolbox 6.1
/
SGI Developer Toolbox 6.1 - Disc 4.iso
/
public
/
radio
/
adpcm.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-01
|
563b
|
22 lines
/*
** adpcm.h - include file for adpcm coder.
**
** Version 1.0, 7-Jul-92.
*/
struct adpcm_state {
short valprev; /* Previous output value */
char index; /* Index into stepsize table */
};
#ifdef __STDC__
#define ARGS(x) x
#else
#define ARGS(x) ()
#endif
void adpcm_coder ARGS((short [], char [], int, struct adpcm_state *));
void adpcm_decoder ARGS((char [], short [], int, struct adpcm_state *));
void ulaw_adpcm_coder ARGS((char [], char [], int, struct adpcm_state *));
void adpcm_ulaw_decoder ARGS((char [], char [], int, struct adpcm_state *));